| Miles Sound System SDK 7.2a |
Q: | How do I start an audio file somewhere in the middle? |
A: | In all of the Miles APIs (digital, MIDI, and stream-based), when you call the "start" function (like AIL_start_sample, for example), the sound will restart at the beginning of the audio file. So, to play an audio file from the middle, open the sound file, skip to an offset, and then start the playback with one of the "resume" functions (like AIL_resume_sample). |
Next Topic (How do I smoothly ramp up or ramp down the volume of a sample over time?)
Previous Topic (When can I free the memory I gave to MSS?)
Group:
FAQs and How Tos
Related Functions:
AIL_pause_stream, AIL_resume_sample, AIL_resume_sequence, AIL_start_sample, AIL_start_sequence, AIL_start_stream
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.